package org.db2.project.airline.dao;

import org.db2.project.airline.model.Airport;
import org.db2.project.airline.model.FlightClassType;
import org.db2.project.airline.model.FlightPlan;

import java.util.Date;
import java.util.List;

/**
 *
 */
public interface FlightPlanDAO extends GenericDAO<FlightPlan> {

    List<FlightPlan> find(Airport departureAirport, Airport arrivalAirport, FlightClassType flightClassType,
                          Date departureTime, Date arrivalTime, boolean twoDaysSpan) throws DAOException;
}
